  <head>
  <script>
  <!--   
  function close_win()   
  {   
    window.opener=null;      
    //window.opener=top;      
    window.open("","_self");      
    window.close();        
    }   
 </script>  
 </head>  
  
 <body onload="javascript:close_win();"></body>  